package com.hetao.xx.orm;


import com.hetao.xx.game.common.EventEnum;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "npc_event")
public class NpcEventVo {

    @DatabaseField(generatedId = true)//绑定字段
    public int id;
    @DatabaseField(columnName = "npc_id")
    public int npcId;
    @DatabaseField(columnName = "event_type")
    public EventEnum eventType;
    @DatabaseField(columnName = "message")
    public String message;
    @DatabaseField(columnName = "ok_event")
    public EventEnum okEvent;
    @DatabaseField(columnName = "cancel_event")
    public EventEnum cancelEvent;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNpcId() {
        return npcId;
    }

    public void setNpcId(int npcId) {
        this.npcId = npcId;
    }

    public EventEnum getEventType() {
        return eventType;
    }

    public void setEventType(EventEnum eventType) {
        this.eventType = eventType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public EventEnum getOkEvent() {
        return okEvent;
    }

    public void setOkEvent(EventEnum okEvent) {
        this.okEvent = okEvent;
    }

    public EventEnum getCancelEvent() {
        return cancelEvent;
    }

    public void setCancelEvent(EventEnum cancelEvent) {
        this.cancelEvent = cancelEvent;
    }
}
